package com.yanqu.road.entity.log.horserun;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_horse_run_exp",autoSave = true,uploadCk = true,desc = "小马快跑经验获得日志")
public class HorseRunGetExpLog extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "获得经验")
    private long getExp;
    @FieldTypeAnnotation(desc = "来源 1商会 2冒险结束")
    private int from;


    public HorseRunGetExpLog() {
    }

    public HorseRunGetExpLog(int activityId, long userId, long getExp, int from) {
        this.activityId = activityId;
        this.userId = userId;
        this.getExp = getExp;
        this.from = from;

    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getGetExp() {
        return getExp;
    }

    public void setGetExp(long getExp) {
        this.getExp = getExp;
    }

    public int getFrom() {
        return from;
    }

    public void setFrom(int from) {
        this.from = from;
    }


}
